﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UcAsp.Net.IDAL
{
    public interface IAttachementFileDAL
    {
        bool Delete(int fileid);
        UcAsp.Net.Model.AttachementFile Insert(UcAsp.Net.Model.AttachementFile model);
        bool Update(UcAsp.Net.Model.AttachementFile model);
        UcAsp.Net.Model.AttachementFile GetFileByMd5(string md5);
        UcAsp.Net.Model.AttachementFile GetFileByFileId(int fileid);
        List<UcAsp.Net.Model.AttachementFile> GetFileByRelatedId(int relatedid);
        List<Model.AttachementFile> GetAttachementFilePage(int pageindex, int pagesize);
    }
}
